package com.example.dao.shenhe;

import com.example.pojo.CourseRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

@Mapper
@Repository
public interface Shproduct {
    //查询分类表
    public List all();
    //分类
    public List productclass();
    //模糊查
    public List mo(@Param("productName") String productName, @Param("categroyId") String categroyId, @Param("currentpriceProduct") BigDecimal currentpriceProduct);
    //添加审核记录
    public int shenhe(CourseRecord courseRecord);
    //修改课程审核状态
    public int zhuangtai(@Param("productCstatus") int productCstatus, @Param("producctId") int producctId);

}
